package com.chagee.store.operation.common.constant;


/**
 * @author Lee
 * @description 百度AI识别接口常量
 */
public interface AiEvsParamsConstant {

	/**
	 * ai鉴权生成token规则code
	 */
	String HMAC_SHA256 = "HmacSHA256";
	/**
	 * ai传输识别入参图片base64加密
	 */
	String BAI_DU_AI_PARAM_64_KEY = "image_base64";
	/**
	 * ai传输识别入参图片url
	 */
	String BAI_DU_AI_PARAM_URL_KEY = "image_url";
	/**
	 * x-evs-user入参
	 */
	String AUTH_PARAM_KEY_USER = "x-evs-user";
	/**
	 * x-evs-expire-date入参
	 */
	String AUTH_PARAM_KEY_DATE = "x-evs-expire-date";
	/**
	 * md5入参
	 */
	String AUTH_PARAM_KEY_MD5 = "x-evs-content-md5";
	/**
	 * 权限入参
	 */
	String AUTH_PARAM_KEY_AUTH = "Authorization";
	/**
	 * format格式
	 */
	String AUTH_PARAM_KEY_FORMAT = "%s:%s:%s:%s:%s";
	/**
	 * ai传输识别入参Content-Type
	 */
	String AUTH_PARAM_KEY_TYPE = "Content-Type";
	/**
	 * ai传输识别入参Content-Type的值
	 */
	String AUTH_PARA_KEY_VALUE = "application/json";

}
